home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-07-14 | 794 b | 43 lines | [TEXT/MPS ] |
- need CtlWind
-
- ctlWind WW
- hscroll VV1
- vscroll VV2
-
- 2 AppleMenu APPLEMEN
- 1 menu FILEMEN
- 6 EditMenu EDITMEN
-
- : 10UP get: thisCtl 10 - 0 max put: thisCtl ;
- : 10DN get: thisCtl 10 + put: thisCtl ;
-
- Rect temprect
-
- : GO
-
- CFAS{ null doDsk } 1 init: appleMen
-
- CFAS{ bye } 2 init: FileMen
-
- CFAS{ null null null null null null } 3 init: EditMen
-
- getnew: appleMen
- getnew: FileMen
- getnew: EditMen
-
- appleMen FileMen EditMen 3 init: menubar
-
- screenbits true setGrow: ww
- true setZoom: ww
- CFAS{ lnup lndn 10up 10dn null } actions: vv1
- CFAS{ lnup lndn 10up 10dn null } actions: vv2
- CFAS{ bye null null null } actions: ww
-
- 0 36 300 200 put: tempRect
- tempRect " Test" docWind true true new: ww
- vv1 0 20 sethscroll: ww vv2 0 10 setvscroll: ww
-
- begin key drop again
- ;
-
-